package org.springblade.core.opc.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * plc地址配置
 */
@Component
@ConfigurationProperties(prefix = "opc")
@Data
public class OpcConfig {
    /**
     * opc地址
     */
    private String url;

    /**
     * 时间间隔
     */
    private String interval;

    /**
     * 命名空间
     */
    private Integer namespaceIndex = 3;
}
